package com.test.kotlin05

class Studen(
    _name:String,
    val age:Int
) {

    var name = _name
    var score = 10
    private val hobby = "music"
//    val subject:String

    init{
        println("initializating student")
    }

    constructor(_name: String):this(_name,10){
        score =100
    }
}